package com.betty.cscams.util;

import java.util.UUID;

public class UUIDUtil {

    /**
     * 获取32位uuid
     * @return
     */
    public static String getUUid32(){
        return UUID.randomUUID().toString().replaceAll("-","");
    }

    /**
     * 获取36位uuid
     * @return
     */
    public static String getUUid36(){
        return UUID.randomUUID().toString();
    }


    public static void main(String[] args) {
        System.out.println(getUUid32());
    }
}
